package org.jeecg.modules.fk.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.fk.entity.DjCheckBO;
import org.jeecg.modules.fk.entity.DjOrg;
import org.jeecg.modules.fk.entity.DjUserInfo;
import org.jeecg.modules.fk.entity.req.DjUserAssignRequest;
import org.jeecg.modules.qyxx.entity.CompanyInfo;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @Description: dj_user_org_ext
 * @Author: ZJJ
 * @Date:   2021-05-14
 * @Version: V1.0
 */
public interface IDjUserInfoService extends IService<DjUserInfo> {

//    IPage<DjUserInfo> queryPageList(DjUserInfo djUserInfo, Integer pageNo, Integer pageSize, HttpServletRequest req);

    /**
     * 查询电局用户列表
     * @param djUserInfo
     * @return
     */
//    List<DjUserInfo> listForPage(DjUserInfo djUserInfo);

    // void saveDjUserInfo(DjCheckBO djCheckBO, YhxxDTO yhxxDTO, CompanyInfo djNsrxx);

    void setOutlet(DjUserInfo djUserInfo);

    void setDjUser2SysUser(DjUserAssignRequest djUserAssignRequest);

    List<DjOrg> getCompanyList(String phone);

    void deleteCompany(String nsrsbh);

    List<DjOrg> getFailCompanyList(String phone);
}
